package guoanmaker.operator.business.model;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.tomcat.jni.User;

import com.fasterxml.jackson.annotation.JsonIgnore;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@ToString
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "t_operator_patentqueryrecord")
public class PatentQueryRecord extends IdEntity{
	@ManyToOne(cascade=CascadeType.REFRESH,optional=false)
	@JoinColumn(name = "user_id")
	private PersonalUser user;
	@Column(name = "key_word")
	private String keyWrod;
	@Column(name = "query_date")
	private Date queryDate;
	@Lob
	@Column(name = "title")
	private String title;
	@Lob
	@Column(name = "kind")
	private String kind;
//	@Column(name = "times")
//	private Integer times;

	
}	
